package com.bnz.service;

import com.bnz.entity.Student;
import com.bnz.entity.vo.StudentVo;
import com.bnz.util.PageResult;

import java.util.List;

public interface StudentService {
    // 1、查询所有数据
    List<Student> findAll();

    // 2、条件查询带分页
    PageResult<Student> search(int page, int pagesize, StudentVo studentVo);
}
